<?php
include '../connect/common_start.php';
if (isset($_REQUEST['id'])) {
	$id=$_REQUEST['id'];
	
	$sql="SELECT * FROM `notification` WHERE (`mem_id`='$id')";
	$result=mysql_query($sql);
	
	$sql2="DELETE FROM `notification` WHERE (`mem_id`='$id')";
	$result2=mysql_query($sql2);
	
	$row=array();
	while ($r=mysql_fetch_assoc($result))
	{
		$row[]=$r;
	}
	echo json_encode($row);
}
include '../connect/common_end.php';
?>